export const RoleTableColumns = shallowRef([
  {
    title: '序号',
    dataIndex: 'indexNo',
    width: 24,
  },
  {
    title: '角色名称',
    dataIndex: 'roleName',
    width: 100,
  },
  {
    title: '角色编码',
    dataIndex: 'roleCode',
    width: 180,
  },
  {
    title: '备注',
    dataIndex: 'note',
    width: 200,
  },
  {
    title: '排序',
    dataIndex: 'sort',
    width: 36,
  },
  {
    title: '创建时间',
    dataIndex: 'createdDate',
    width: 120,
  },
  {
    title: '状态',
    dataIndex: 'stateId',
    width: 64,
  },
  {
    title: '操作',
    dataIndex: 'action',
    width: 150,
  },
])

export const PermissionModalTableColumns = shallowRef([
  {
    title: '序号',
    dataIndex: 'indexNo',
    width: 48,
  },
  {
    title: '权限名称',
    dataIndex: 'permissionName',
    width: 120,
  },
  {
    title: '权限编码',
    dataIndex: 'permissionCode',
    width: 80,
  },
  {
    title: '备注',
    dataIndex: 'note',
    ellipsis: { showTitle: true },
    width: 120,
  },
  {
    title: '排序',
    dataIndex: 'sort',
    width: 36,
  },
  {
    title: '创建时间',
    dataIndex: 'createdDate',
    width: 120,
  },
])
